package com.soledroid.Model;

public class User {
	public static final String IMAGE_PATH = "http://soledroid.huytoan.com/images/users/";
	protected int id;
	protected String username;
	protected String fullname;
	protected String image;
	
	public User(int id, String username, String fullname, String image){
		super();
		
		this.id = id;
		this.username = username;
		this.fullname = fullname;
		if(!image.equals("null")){
			this.image = IMAGE_PATH + image;
		}
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
	
}
